﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UBirthdayAlarmList.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.UserModel.UBirthdayAlarmList" %>

<form id="pagerForm" method="post" action="UserModel/UBirthdayAlarmList.aspx">

<input type="hidden" name="orderField" value="<%=orderField %>" />
<input type="hidden" name="orderDirection" value="<%=orderDirection %>" />
<input type="hidden" name="pageNum" value="1" />
<input type="hidden" name="numPerPage" value="<%=numPerPage %>" />
</form>
<form id="form1" runat="server" method="post" action="UserModel/UBirthdayAlarmList.aspx" onsubmit="return navTabSearch(this);">
<div class="pageHeader">
   <div class="searchBar">
      <table class="searchContent"><tr><td></td></tr></table>
      <div class="subBar">
            <ul>
                <li>
                    <div class="buttonActive"><div class="buttonContent"><button type="submit">刷新</button></div></div>
                </li>
            </ul>
        </div>
     </div>
</div>
<div class="pageContent">
     <div class="panelBar">
        <ul class="toolBar">
            <li><a title="确实要对这些用户发送生日短信吗?" target="selectedTodo" postType="string"  rel="uwcids" href="sysAjaxDone.ashx?ajaxmethod=PersonalitySendBirthday" class="icon"><span>批量发送</span></a></li>
        </ul>
    </div>
   <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="100%" layouth="138">
        <thead>
            <tr  >   
                <th width="25"><input type="checkbox" group="uwcids" class="checkboxCtrl"></th>                
                <th width="80"  orderField="MachineType" class="asc">
                    机型
                </th>
                <th  orderField="SerialNumber" class="asc">
                    机号
                </th>
                <th orderField="IntoDate" class="asc">
                    交机日期
                </th>              
                <th >
                    客户姓名
                </th>
                <th  align="center">
                    客户电话/手机
                </th>
                <th >
                    身份证号
                </th>
                 <th >
                    生日
                </th>
                <th >
                    经销商
                </th> 
                <th >
                    服务电话
                </th>
                <th >
                    交机服务人员
                </th> 
                <th >
                    交机人电话
                </th>   
                <th></th>                           
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user" rel="<%# Eval("UWCID") %>">
                  <td><input name="uwcids" value="<%# Eval("UWCID") %>" type="checkbox"/></td>
				<td><%# Eval("MachineType")%></td>
				<td>
                <%# Eval("SerialNumber")%>
                </td>
				<td><%# Convert.ToDateTime(Eval("IntoDate")).ToString("yyyy-MM-dd")%></td>
               
				<td><%# Eval("CustomerName")%></td>
				<td><%# Eval("CustomerTel")%>/<%# Eval("CustomerMobile")%></td>
				<td><%# Eval("CustomerIDCard")%></td>
                 <td><%# Eval("Birthday")%></td>
                <td><%# Eval("AgentName")%></td>
                <td><%# Eval("AgentTel")%></td>
                <td><%# Eval("AgentSvrPer")%></td>
                <td><%# Eval("AgentSvrPerTel")%></td>
                <td>
                    <a  target="ajaxTodo" class="btnAssign" title="确定要发送吗?" href="sysAjaxDone.ashx?ajaxmethod=sendsingbirthday&mobile=<%# Eval("CustomerMobile")%>&UWCID=<%# Eval("UWCID")%>">生日短信</a>
                </td>
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
    <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
               <%=SetnumPerPage() %>
            </select>
            <span>条，共<%=TotalCount%>条</span>
        </div>
        <div class="pagination" targettype="navTab" totalcount="<%=TotalCount%>" numperpage="<%=numPerPage %>"
            pagenumshown="10" currentpage="<%=pageNum %>">
        </div>
    </div>
</div>
</form>
